//
//  ShareCenterEngine.h
//  ShareCenter
//
//  Created by yutao on 14-2-19.
//  Copyright (c) 2014年 yutao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ShareMessageInfo.h"
#import "ShareClientType.h"

@interface ShareCenterEngine : NSObject
+ (id)defaultEngine;

- (void)registerApplicationWithServicesType:(int)statementCount,...;

- (void)loginForServiceType:(SNShareClientType)serviceType;
- (BOOL)logoutForServiceType:(SNShareClientType)serviceType;

- (BOOL)isValidForServiceType:(SNShareClientType)serviceType;

- (BOOL)handleOpenURL:(NSURL *)url;


- (void)shareMessage:(ShareMessageInfo *)message forServiceType:(SNShareClientType)serviceType;
@end
